package com.gitee.ykr.lightweight.rpc.config;

import com.gitee.ykr.lightweight.rpc.common.entity.AppEntity;
import com.gitee.ykr.lightweight.rpc.common.entity.NettyClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @author YKR
 * @Describe
 * @date 2021/8/23
 */
@Data
@ConfigurationProperties(prefix = "netty")
public class NettyRpcProperties {
    AppEntity server;
    List<NettyClient> clients = new ArrayList<>();
    CommonProperties commonProperties;
}
